package com.smg.community.thread;

import com.smg.community.setting.Cache;

public class RefreshCachThread  extends Thread{

	/**
	 * 12个小时刷新一次
	 */
	private static int Sleep_Time = 1000 * 60 * 60 * 12;	
	
	@Override
	public void run() {
			while(true){
				Cache.INDEX_FOUR_TOPIC_LIST_BY_REPLYCOUNT = null;
				Cache.INDEX_SEVEN_GROUP_LIST_BY_TOPICCOUNT = null;
				Cache.KEYWORD_LIST = null ;
				Cache.onLineTopFiveImages = null;
				Cache.threeMemberList = null;
				Cache.threeActivityList = null;
				try {
					sleep(Sleep_Time);
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
	}

}
